package com.tskj.leonsu.service;

import com.alibaba.fastjson.JSONObject;
import com.tskj.leonsu.dao.GyglDAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author LeonSu
 */
@Service
public class GyglService {

    @Autowired
    private GyglDAO gyglDAO;

    public JSONObject getStudentInfo(String name, String no, String idCard) {
        return gyglDAO.getStudentInfo(name, no, idCard);
    }

    public String getStudentSex(String name, String no) {
        return gyglDAO.getStudentSex(name, no);
    }

    public String getStudentXueYuan(String name, String no) {
        return gyglDAO.getStudentXueYuan(name, no);
    }
}
